package com.guoranhao.tool.conf;

public class OssConfig {

    private static String accessId = "LTAIcQcPx6Z8i0eU";

    private static String accessKey = "dIFOPE1pveTW8HfefmCRCEfWk2j5tQ";
    /**
     * 阿里云OSS_ENDPOINT
     */
    private static String endpoint = "http://oss-cn-beijing.aliyuncs.com";

    private static String ossBucketName = "guoranhaoshop";
    /**
     * 设置OSSClient使用的最大连接数，默认1024
     */
    private static int maxConnections = 1024;
    /**
     * 设置请求超时时间，默认50秒
     */
    private static int socketTimeout = 120000;
    /**
     * 设置失败请求重试次数，默认3次
     */
    private static int maxErrorRetry = 3;

    public static String getOssBucketName() {
        return ossBucketName;
    }

    public static String getAccessId() {
        return accessId;
    }

    public static String getAccessKey() {
        return accessKey;
    }

    public static String getEndpoint() {
        return endpoint;
    }

    public static int getMaxConnections() {
        return maxConnections;
    }

    public static int getSocketTimeout() {
        return socketTimeout;
    }

    public static int getMaxErrorRetry() {
        return maxErrorRetry;
    }
}